package com.sunwayhorizo.health.business.clinic.emr.observation;

import java.util.List;

import javax.ejb.Local;

import com.sunwayhorizo.health.business.dto.clinic.emr.document.EmrDiagnosisDTO;
import com.sunwayhorizo.health.hl7.common.Hl7Exception;
import com.sunwayhorizo.health.hl7.rim.Observation;

/**
 * @ClassName ObservationManagerLocal <br>
 * @PackageName com.sunwayhorizo.health.business.emr.observation <br>
 * @Description 诊断管理 <br>
 * @Author jinzw <br>
 * @Date 2010-03-15 <br>
 * @Version 1.0 <br>
 * @ModifiedDesc <br>
 * @ModifiedDate <br>
 * @ModifiedBy <br>
 * @Copyright 2010-2020 北京三维海容 All Rights Reserved. <br>
 */

@Local
public interface ObservationManagerLocal {
	
	/**
	 * 创建一个诊断信息
	 * @param emrDiagnosisDTO 
	 * @return
	 * @throws Hl7Exception
	 */
	public List<Observation> newObservation(List<EmrDiagnosisDTO> emrDiagnosisList) throws Hl7Exception;
	/**
	 * 创建一个诊断信息
	 * @param emrDiagnosisDTO 
	 * @return
	 * @throws Hl7Exception
	 */
	public Observation newObservation(EmrDiagnosisDTO emrDiagnosisDTO) throws Hl7Exception;
	
	/**
	 * 根据诊断信息组装诊断DTO集合
	 * @param obsList
	 * @return
	 * @throws Hl7Exception
	 */
	public List<EmrDiagnosisDTO> converEmrDiagnosisDTOList(List<Observation> obsList) throws Hl7Exception;
    Observation newObservationNotPersist(EmrDiagnosisDTO emrDiagnosisDTO) throws Hl7Exception;

}
